//
//  RecreationViewModel.m
//  HappyNews
//
//  Created by lanou on 16/1/13.
//  Copyright © 2016年 BPWBANP. All rights reserved.
//

#import "RecreationViewModel.h"

@implementation RecreationViewModel
- (void)setValue:(id)value forUndefinedKey:(NSString *)key
{
    if ([key isEqualToString:@"memberItem"]) {
        self.guid = value[@"guid"];
        self.shareUrl = value[@"shareUrl"];
        self.duration = value[@"duration"];
        
        NSDictionary *dic = value[@"videoFiles"];
        
        NSDictionary *dic2 = dic[@"280"];
        
        self.mediaurl = dic2[@"mediaUrl"];

    }
}

@end
